export default [
    {
        title: '系统介绍',
        icon: '#icon-jiaoyu3',
        path: '/admin',
        show: false,
        permission: '',
        children: [
            {
                title: '系统简介',
                icon: '#icon-huiyishenqing',
                path: '/admin',
                show: false,
                permission: 'admin.index',
            },
        ],
    },
    {
        title: '代金券管理',
        icon: '#icon-biaoqian',
        path: '/voucher',
        show: false,
        permission: 'admin.voucher.index',
        children: [
            {
                title: '代金券发放',
                icon: '#icon-shenhe',
                path: '/admin/voucher/index',
                show: false,
                permission: 'admin.voucher.create',
                children: [
                    {
                        title: '代金券列表',
                        icon: '#icon-tongji',
                        path: '/admin/voucher/index',
                        show: false,
                    },
                    {
                        title: '创建代金券',
                        icon: '#icon-gaishuai',
                        path: '/admin/voucher/create',
                        show: false,
                    },
                    {
                        title: '批量生成',
                        icon: '#icon-hangye',
                        path: '/admin/voucher/patch',
                        show: false,
                    },
                ],
            },
            {
                title: '代金券流通',
                icon: '#icon-jiaoyi',
                path: '/admin/record',
                show: false,
                permission: 'admin.voucher.record',
                children: [
                    {
                        title: '代金券流通路径',
                        icon: '#icon-qushi',
                        path: '/admin/record/index',
                        show: false,
                        permission: 'admin.record.create',
                    },
                ],
            },
            {
                title: '代金券兑换',
                icon: '#icon-yinhangjigou',
                path: '/admin/voucher',
                show: true,
                permission: 'admin.voucher.exchange',
                children: [
                    {
                        title: '可兑换代金券',
                        icon: '#icon-zichan1',
                        path: '/admin/voucher/exchangeable',
                        show: false,
                    },
                ],
            },
        ],
    },
    {
        title: '商户管理',
        icon: '#icon-shangjia',
        path: '/admin/user/index',
        show: true,
        permission: 'user.manage',
        children: [
            {
                title: '普通商户',
                icon: '#icon-huiyuan',
                path: '/admin/user/normal',
                show: false,
                permission: 'admin.user.normal',
            },
            {
                title: '会员审批',
                icon: '#icon-huiyuan',
                path: '/admin/user/approve',
                show: false,
                permission: 'admin.user.approve',
            },
            {
                title: '联盟会员',
                icon: '#icon-huiyuan',
                path: '/admin/user/member',
                show: false,
                permission: 'admin.user.union',
            },
        ],
    },
    {
        title: '角色权限',
        icon: '#icon-zhanghaoguanli',
        path: '/admin/role/permission',
        show: false,
        permission: 'admin.role.index',
        children: [
            {
                title: '管理员设置',
                icon: '#icon-qiyebumen',
                path: '/admin/manager',
                show: false,
                permission: 'admin.manager',
                children: [
                    {
                        title: '管理员列表',
                        icon: '#icon-dingdanchaxun',
                        path: '/admin/manager/index',
                        show: false,
                        permission: 'admin.manager.index',
                    },
                    {
                        title: '角色分配',
                        icon: '#icon-jiazhao',
                        path: '/admin/role/syncroles',
                        show: false,
                        permission: 'admin.role.syncroles',
                    },
                ],
            },
            {
                title: '角色配置',
                icon: '#icon-shezhi',
                path: '/admin/role',
                show: false,
                permission: 'admin.role',
                children: [
                    {
                        title: '角色列表',
                        icon: '#icon-biaoqian',
                        path: '/admin/role/index',
                        show: false,
                        permission: 'admin.role.index',
                    },
                    {
                        title: '添加角色',
                        icon: '#icon-paihang1',
                        path: '/admin/role/create',
                        show: false,
                        permission: 'admin.role.create',
                    },
                ],
            },
        ],
    },
    {
        title: '系统配置',
        icon: '#icon-shezhi',
        path: '/admin/config/edit',
        show: true,
        permission: 'admin.config',
        children: [
            {
                title: '系统配置',
                icon: '#icon-tiaokong',
                path: '/admin/config/edit',
                show: false,
                permission: 'admin.config.edit',
            },
            {
                title: '轮播图管理',
                icon: '#icon-tiaokong',
                path: '/admin/swiper/index',
                show: false,
                permission: 'admin.swiper.index',
            },
            {
                title: '短信配置',
                icon: '#icon-tiaokong',
                path: '/admin/sms/edit',
                show: false,
                permission: 'admin.sms.edit',
            },
        ],
    },
]
